PREFIX=/opt
NAME=cleanlatex

default:
	@echo "Use 'make install' as root"

install:
	mkdir -p $(PREFIX)/$(NAME)/bin
	cp cleanlatex $(PREFIX)/$(NAME)/bin/$(NAME)
	mkdir -p $(PREFIX)/bin
	ln -s ../$(NAME)/bin/$(NAME) $(PREFIX)/bin/$(NAME)
